$OpenBSD: patch-library_tm_tcl,v 1.3 2014/10/21 05:08:53 stu Exp $
--- library/tm.tcl.orig	Mon Jul 28 10:43:55 2014
+++ library/tm.tcl	Sat Oct 11 14:16:12 2014
@@ -316,10 +316,11 @@ proc ::tcl::tm::Defaults {} {
 
     # Note that we're using [::list], not [list] because [list] means
     # something other than [::list] in this namespace.
-    roots [::list \
-	    [file dirname [info library]] \
-	    [file join [file dirname [file dirname $exe]] lib] \
-	    ]
+
+    # OpenBSD layout
+    add [file join [info library] modules] \
+	[file join [lindex $::tcl_pkgPath 0] modules 86] \
+	[file join [lindex $::tcl_pkgPath 0] modules 85]
 
     if {$tcl_platform(platform) eq "windows"} {
 	set sep ";"
